setContentInsetEndWithActions
Sets the start content inset to use when action buttons are present.
Different content insets are often called for when additional buttons are present in the toolbar, as well as at different toolbar sizes. The larger value of getContentInsetEnd and this value will be used during layout.
Parameters
insetEndWithActions
the inset to use when a menu has been set in pixels
See also
contentInsetEndWithActions